body {
	padding: 0;
	margin: 0;
}

.contain {
	display: flex;
	width: 100%;
	height: 100%;
	flex-direction: column;
	margin: 0;
	padding: 0;
}

.header {
	flex: 1;
	width: 100%;
	height: 100%;
}

.header img {
	width: 100%;
}

.main {
	flex: 2;
	margin-top: 10px;
	background: #000;
}

.main section {
	display: flex;
	margin-bottom: 10px;
}

.main section .aside {
	float: left;
	flex: 1;
	background: #e01f2f;
}

.main section .article {
	float: left;
	flex: 2;
	background-color: #1b72be;
	margin-left: 10px;
	text-align: center;
	display: flex;
	flex-wrap: wrap;
}

@media only screen and (min-width: 320px) {
	section .article a {
		color: #fff;
		border: 1px solid #fff;
		text-decoration: none;
		width: 100%;
		height: 50px;
		line-height: 50px;
		box-sizing: border-box;
	}
}

@media only screen and (min-width: 768px) {
	section .article a {
		color: #fff;
		border: 1px solid #fff;
		text-decoration: none;
		width: 50%;
		height: 50px;
		line-height: 50px;
		box-sizing: border-box;
	}
}

@media only screen and (min-width: 992px) {
	section .article a {
		color: #fff;
		border: 1px solid #fff;
		text-decoration: none;
		width: 25%;
		height: 50px;
		line-height: 50px;
		box-sizing: border-box;
	}
}

.footer {
	width: 100%;
}
.footer img {
		width: 100%;
	}

@media only screen and (min-width:320px) {
	.footer img {
		width: 100%;
	}
}

@media only screen and (min-width:768px) {
	.footer img {
		width: 50%;
	}
}